﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Modele
{
    [Serializable]
    public class Effets : ICloneable
    {

        public enum Effet { Slide, Pull_off, Hammer_on, Vibrato, WideVibrato, LegatoSlide, PalmMute, No };
        public enum EffetHarmonique { naturel, artificiel, No };
        public enum BendTon { Quart, Demi, UnTon, UnTonDemi, DeuxTons, DeuxTonsDemi, TroisTons, Full, No };
        public enum BendType { Normal, BendRelease, PreBend, PreBendRelease, BendReleaseBend, No };
        public enum Tremolo { Croche, DoubleCroche, TripleCroche, No };
        public enum Accentuation { Accentue, FortAccentue, No };
        public enum Appogiature { Longue, Breve, Double, Barree, Superieure, Inferieure, No };
        public enum Nuance { PianoPianissimo, Pianissimo, Piano, MezzoPiano, MezzoForte, Forte, Fortissimo, ForteFortissimo, No }

        [XmlAttribute("Effet")]
        public Effet effet = Effet.No;
         [XmlAttribute("Harmonique")]
        public EffetHarmonique harmonique = EffetHarmonique.No;
         [XmlAttribute("BendTon")]
        public BendTon bendTon = BendTon.No;
         [XmlAttribute("BendType")]
        public BendType benType = BendType.No;
         [XmlAttribute("Tremolo")]
        public Tremolo tremolo = Tremolo.No;
         [XmlAttribute("Accent")]
        public Accentuation accentuation = Accentuation.No;
         [XmlAttribute("Appogiature")]
        public Appogiature appogiature = Appogiature.No;
         [XmlAttribute("Nuance")]
        public Nuance nuance = Nuance.No;

         public object Clone()
         {

             return MemberwiseClone();

         }
    }
}
